gpsbabel.git
22 years agoOnly include unistd.h in POSIX-land.
robertl [Thu, 8 Jan 2004 23:47:34 +0000 (23:47 +0000)]
Only include unistd.h in POSIX-land.

22 years agoAll files: replace explict calls to fopen with xfopen wrapper that
robertl [Thu, 8 Jan 2004 21:47:51 +0000 (21:47 +0000)]
All files: replace explict calls to fopen with xfopen wrapper that
supports - as alias for std{in,out} and tests for error.

22 years agoUpdate track handling
alexmot [Thu, 8 Jan 2004 21:09:08 +0000 (21:09 +0000)]
Update track handling

22 years agoUpdate reference file for GPX tracks.
alexmot [Thu, 8 Jan 2004 21:07:16 +0000 (21:07 +0000)]
Update reference file for GPX tracks.

22 years agoAdd GPX track test case.
alexmot [Thu, 8 Jan 2004 21:06:12 +0000 (21:06 +0000)]
Add GPX track test case.

22 years agoFix GPX track handling
alexmot [Thu, 8 Jan 2004 21:05:43 +0000 (21:05 +0000)]
Fix GPX track handling

22 years agoMade xml_entitize understand and handle UTF-8
parkrrrr [Thu, 8 Jan 2004 16:48:44 +0000 (16:48 +0000)]
Made xml_entitize understand and handle UTF-8

22 years agoBring Ozi tracks/routes current with framework.
alexmot [Thu, 8 Jan 2004 16:40:55 +0000 (16:40 +0000)]
Bring Ozi tracks/routes current with framework.
Add description parsing for route points.

22 years agoAdd missing global CVS tags.
robertl [Thu, 8 Jan 2004 16:19:49 +0000 (16:19 +0000)]
Add missing global CVS tags.

22 years agoCorrect vmem violations in gpx. Remove sandbagging.
robertl [Thu, 8 Jan 2004 16:07:20 +0000 (16:07 +0000)]
Correct vmem violations in gpx.  Remove sandbagging.

22 years agoUse stable creation times when reading waypoitns.
robertl [Thu, 8 Jan 2004 04:15:04 +0000 (04:15 +0000)]
Use stable creation times when reading waypoitns.

22 years agoDon't prefer empty notes.
robertl [Thu, 8 Jan 2004 03:29:24 +0000 (03:29 +0000)]
Don't prefer empty notes.

22 years agoRemove extraneous (and one non-such) inclusions of unistd.h.
robertl [Thu, 8 Jan 2004 03:15:01 +0000 (03:15 +0000)]
Remove extraneous (and one non-such) inclusions of unistd.h.

22 years agoAdd flags to vm_alloc to zero allocated buffer.
robertl [Thu, 8 Jan 2004 02:52:34 +0000 (02:52 +0000)]
Add flags to vm_alloc to zero allocated buffer.

22 years agoDoh! the zip is already moved...
robertl [Wed, 7 Jan 2004 21:56:14 +0000 (21:56 +0000)]
Doh! the zip is already moved...

22 years agoDon't clobber the perfectly lovely zip created by mingw/Makefile with
robertl [Wed, 7 Jan 2004 21:54:35 +0000 (21:54 +0000)]
Don't clobber the perfectly lovely zip created by mingw/Makefile with
ours that's missing pieces from the tip.  (Sigh.)

22 years agoFrom Mark Hammond. Go less nuts with CDATA encoding, commonize many
robertl [Wed, 7 Jan 2004 16:27:37 +0000 (16:27 +0000)]
From Mark Hammond.   Go less nuts with CDATA encoding, commonize many
tag outputs.

22 years agoFix leaktest.
robertl [Wed, 7 Jan 2004 02:19:58 +0000 (02:19 +0000)]
Fix leaktest.

22 years agoFix allocation for cdatastr.
robertl [Wed, 7 Jan 2004 02:19:22 +0000 (02:19 +0000)]
Fix allocation for cdatastr.

22 years agoCommit overhauled GPX parser.
robertl [Wed, 7 Jan 2004 01:37:19 +0000 (01:37 +0000)]
Commit overhauled GPX parser.

22 years agoMark Hammond reports that Cygwin termio handling is broken on the second
robertl [Tue, 6 Jan 2004 23:42:35 +0000 (23:42 +0000)]
Mark Hammond reports that Cygwin termio handling is broken on the second
open.  Revert to the WIN32 API for that case.

22 years agoA number of changes throughout to support formats like GPX and Mapsource
robertl [Mon, 5 Jan 2004 20:08:10 +0000 (20:08 +0000)]
A number of changes throughout to support formats like GPX and Mapsource
that can have more than one of (waypoints, tracks, routes) in one file.

This doesn't get it for every format (or even for MPS output) but it
helps some of our cases...

22 years agoAdd route writing to garmin serial. Probably not final.
robertl [Mon, 5 Jan 2004 17:39:56 +0000 (17:39 +0000)]
Add route writing to garmin serial.   Probably not final.

22 years agoRemove OziExplorer style file. Ozi is now it's own module.
alexmot [Mon, 5 Jan 2004 15:50:05 +0000 (15:50 +0000)]
Remove OziExplorer style file.  Ozi is now it's own module.

22 years agoMove OziExplorer into it's own module. Adds track/route read/write support for Ozi.
alexmot [Mon, 5 Jan 2004 15:47:33 +0000 (15:47 +0000)]
Move OziExplorer into it's own module.  Adds track/route read/write support for Ozi.

22 years agoFix garmin serial tracks. A) eliminate empty track at beginning and B)
robertl [Mon, 5 Jan 2004 02:22:41 +0000 (02:22 +0000)]
Fix garmin serial tracks.  A) eliminate empty track at beginning and B)
avoid mem corruption by allocing and freeing the waypoint list consistently.

22 years agoAdd D109 support in yet another place.
robertl [Sat, 3 Jan 2004 21:51:08 +0000 (21:51 +0000)]
Add D109 support in yet another place.

22 years agoReplace old endianness logic in binary formats
robertl [Sun, 21 Dec 2003 20:30:54 +0000 (20:30 +0000)]
Replace old endianness logic in binary formats
with newer stuff.
Fix loops that free ll elements.
Misc cleanups.

22 years agoDon't call exit.
robertl [Sun, 21 Dec 2003 19:16:30 +0000 (19:16 +0000)]
Don't call exit.

22 years agoAdd route reading code.
robertl [Sun, 21 Dec 2003 17:48:42 +0000 (17:48 +0000)]
Add route reading code.

22 years agoDoc a few missing targets. Make chkdoc grouchier.
robertl [Sun, 21 Dec 2003 09:11:51 +0000 (09:11 +0000)]
Doc a few missing targets.   Make chkdoc grouchier.

22 years agoAdd delorme gpl format.
robertl [Sun, 21 Dec 2003 09:11:04 +0000 (09:11 +0000)]
Add delorme gpl format.

22 years agoAdd deficon to geo output.
robertl [Sun, 21 Dec 2003 07:53:15 +0000 (07:53 +0000)]
Add deficon to geo output.

22 years agoFree the parser when we're done.
robertl [Sat, 20 Dec 2003 22:58:12 +0000 (22:58 +0000)]
Free the parser when we're done.

22 years agoAccept comments in input.
robertl [Sat, 20 Dec 2003 19:12:24 +0000 (19:12 +0000)]
Accept comments in input.

22 years agoBe nicer in absence of a shortname.
robertl [Sat, 20 Dec 2003 05:39:13 +0000 (05:39 +0000)]
Be nicer in absence of a shortname.

22 years agoC89 fix-up
alexmot [Thu, 18 Dec 2003 14:19:56 +0000 (14:19 +0000)]
C89 fix-up

22 years agoThree changes:
robertl [Sat, 13 Dec 2003 07:13:46 +0000 (07:13 +0000)]
Three changes:
1) Lay groundwork in GPX parser for context sensitive switching.
2) Add route reversal.
3) move painful test to 'torture' target from testo (you're welcome, Ron)

22 years agoCleanup pass.
robertl [Sat, 13 Dec 2003 05:54:49 +0000 (05:54 +0000)]
Cleanup pass.

22 years agoAdd blurb on binary kits.
robertl [Sat, 13 Dec 2003 05:04:22 +0000 (05:04 +0000)]
Add blurb on binary kits.

22 years agoAdd mac-build target for generating binary kits for OS/X.
robertl [Fri, 12 Dec 2003 05:57:32 +0000 (05:57 +0000)]
Add mac-build target for generating binary kits for OS/X.

22 years agoFix minor mem leaks.
robertl [Thu, 11 Dec 2003 17:08:50 +0000 (17:08 +0000)]
Fix minor mem leaks.

22 years agoAdd check to 'changes.html', too.
robertl [Thu, 11 Dec 2003 17:00:43 +0000 (17:00 +0000)]
Add check to 'changes.html', too.

22 years agoAdd D109 support for reading routes. Yuk!
robertl [Tue, 9 Dec 2003 06:53:11 +0000 (06:53 +0000)]
Add D109 support for reading routes.  Yuk!

22 years agoAdd sloppy code to print D109's. Since we don't normally link with
robertl [Tue, 9 Dec 2003 06:52:12 +0000 (06:52 +0000)]
Add sloppy code to print D109's.   Since we don't normally link with
this file, the bloat is OK.

22 years agoSupport GPX <sym>/pushpin icon number
james_sherring [Sat, 6 Dec 2003 12:39:05 +0000 (12:39 +0000)]
Support GPX <sym>/pushpin icon number

22 years agoDon't double-free email and author if reading multiple files.
robertl [Fri, 5 Dec 2003 22:40:11 +0000 (22:40 +0000)]
Don't double-free email and author if reading multiple files.

22 years agocleanup various debug items,
james_sherring [Fri, 5 Dec 2003 11:24:29 +0000 (11:24 +0000)]
cleanup various debug items,
no input file condition bug fix

22 years ago*** empty log message ***
james_sherring [Fri, 5 Dec 2003 00:54:53 +0000 (00:54 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
james_sherring [Fri, 5 Dec 2003 00:44:33 +0000 (00:44 +0000)]
*** empty log message ***

22 years agofixed bad strcpy causing coredump with jlps.axe
james_sherring [Fri, 5 Dec 2003 00:12:19 +0000 (00:12 +0000)]
fixed bad strcpy causing coredump with jlps.axe

22 years agoupdated show_usage
james_sherring [Fri, 5 Dec 2003 00:03:40 +0000 (00:03 +0000)]
updated show_usage

22 years agoIncluded mention of template files
james_sherring [Thu, 4 Dec 2003 12:51:20 +0000 (12:51 +0000)]
Included mention of template files

22 years ago*** empty log message ***
james_sherring [Wed, 3 Dec 2003 23:42:24 +0000 (23:42 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
james_sherring [Wed, 3 Dec 2003 21:34:36 +0000 (21:34 +0000)]
*** empty log message ***

22 years agoAdd mag_cleanse() to route-point output.
alexmot [Wed, 3 Dec 2003 18:39:13 +0000 (18:39 +0000)]
Add mag_cleanse() to route-point output.

22 years agoRegenerate deps. Rename snprintf for WIN32.
robertl [Wed, 3 Dec 2003 17:23:23 +0000 (17:23 +0000)]
Regenerate deps.  Rename snprintf for WIN32.

22 years agoAdded fake-o waypoint names to generated waypoints; GPS formats seem to care about...
parkrrrr [Wed, 3 Dec 2003 02:01:08 +0000 (02:01 +0000)]
Added fake-o waypoint names to generated waypoints; GPS formats seem to care about having names.

22 years agoProtect against integer overflow in division.
robertl [Wed, 3 Dec 2003 00:12:19 +0000 (00:12 +0000)]
Protect against integer overflow in division.

22 years agoAdded 'simplify' filter
parkrrrr [Wed, 3 Dec 2003 00:00:04 +0000 (00:00 +0000)]
Added 'simplify' filter

22 years agoFixed problem where one route would get split into many smaller routes
parkrrrr [Tue, 2 Dec 2003 23:22:14 +0000 (23:22 +0000)]
Fixed problem where one route would get split into many smaller routes

22 years ago*** empty log message ***
james_sherring [Tue, 2 Dec 2003 21:04:09 +0000 (21:04 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
james_sherring [Tue, 2 Dec 2003 20:20:44 +0000 (20:20 +0000)]
*** empty log message ***

22 years agomoved to src directory
james_sherring [Tue, 2 Dec 2003 20:06:49 +0000 (20:06 +0000)]
moved to src directory

22 years agoBump to 1.2.1 for release.
robertl [Tue, 2 Dec 2003 17:55:10 +0000 (17:55 +0000)]
Bump to 1.2.1 for release.

22 years agoUsed fixed point instead of approximate fp to reduce rounding error on
robertl [Tue, 2 Dec 2003 17:54:14 +0000 (17:54 +0000)]
Used fixed point instead of approximate fp to reduce rounding error on
Garmin waypt xfer.

22 years agoBump version number to circumvent sourceforge silliness. Add version # to
robertl [Tue, 2 Dec 2003 15:24:05 +0000 (15:24 +0000)]
Bump version number to circumvent sourceforge silliness.   Add version # to
usage.

22 years agoAdd secondary basemap upload. From Bernhard Nebel.
robertl [Tue, 2 Dec 2003 15:12:26 +0000 (15:12 +0000)]
Add secondary basemap upload.  From Bernhard Nebel.

22 years agoFrom Rick. Add dbname and category command line options.
robertl [Tue, 2 Dec 2003 15:10:58 +0000 (15:10 +0000)]
From Rick.   Add dbname and category command line options.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r564,
robertl [Tue, 2 Dec 2003 15:03:21 +0000 (15:03 +0000)]
This commit was generated by cvs2svn to compensate for changes in r564,
which included commits to RCS files with non-trunk default branches.

22 years agoDescribe Ron's fix.
robertl [Mon, 1 Dec 2003 22:13:34 +0000 (22:13 +0000)]
Describe Ron's fix.

22 years agoRemoved bad boundary conditions and other errors in previous gpx.c commit; also added...
parkrrrr [Mon, 1 Dec 2003 21:19:01 +0000 (21:19 +0000)]
Removed bad boundary conditions and other errors in previous gpx.c commit; also added 'consider emailing' warning.

22 years agoAdded hack to remove &#x0; through &#x1f; from most gpx input
parkrrrr [Mon, 1 Dec 2003 20:08:39 +0000 (20:08 +0000)]
Added hack to remove &#x0; through &#x1f; from most gpx input

22 years agoAdd Geoniche. From Rick Richardson.
robertl [Mon, 24 Nov 2003 15:42:05 +0000 (15:42 +0000)]
Add Geoniche.  From Rick Richardson.

22 years agoUse xfree, not free.
robertl [Mon, 24 Nov 2003 14:22:27 +0000 (14:22 +0000)]
Use xfree, not free.

22 years agoprintposn needs a double, not a float.
robertl [Mon, 24 Nov 2003 14:14:02 +0000 (14:14 +0000)]
printposn needs a double, not a float.

22 years agoBump version for release.
robertl [Wed, 19 Nov 2003 23:17:02 +0000 (23:17 +0000)]
Bump version for release.

22 years agoUnify math.h includes and conditional M_PI definition since we kept getting
robertl [Sun, 16 Nov 2003 20:10:38 +0000 (20:10 +0000)]
Unify math.h includes and conditional M_PI definition since we kept getting
it wrong...

22 years agoMoved great circle functionality to its own module
parkrrrr [Fri, 14 Nov 2003 15:37:13 +0000 (15:37 +0000)]
Moved great circle functionality to its own module

22 years agoI've looked these options up for the last time...
robertl [Thu, 13 Nov 2003 23:38:42 +0000 (23:38 +0000)]
I've looked these options up for the last time...

22 years agoRegenerate.
robertl [Thu, 13 Nov 2003 22:47:32 +0000 (22:47 +0000)]
Regenerate.

22 years agoMove gpx_entitize to xml_entitize, call from geo.c in at least one of hte
robertl [Thu, 13 Nov 2003 05:28:33 +0000 (05:28 +0000)]
Move gpx_entitize to xml_entitize, call from geo.c in at least one of hte
cases that we should be calling it (sigh) to correct a problem for Rick
outputting URLs with '&' characters in them.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r548,
robertl [Mon, 10 Nov 2003 15:13:57 +0000 (15:13 +0000)]
This commit was generated by cvs2svn to compensate for changes in r548,
which included commits to RCS files with non-trunk default branches.

22 years agoInitial checkin.
robertl [Mon, 10 Nov 2003 15:13:57 +0000 (15:13 +0000)]
Initial checkin.

22 years agoregenerate
robertl [Wed, 5 Nov 2003 20:49:50 +0000 (20:49 +0000)]
regenerate

22 years agoPut description in description field. (duh!)
robertl [Wed, 5 Nov 2003 20:49:09 +0000 (20:49 +0000)]
Put description in description field.  (duh!)

22 years agoFrom Rick Richardson.
robertl [Mon, 3 Nov 2003 14:37:03 +0000 (14:37 +0000)]
From Rick Richardson.

Here is a patch that fixes a bug in the tabsep internal style.  It
was unable to parse its own output as input (my bad).

-Rick

22 years agoUse new waypoint constructor.
robertl [Mon, 3 Nov 2003 14:35:55 +0000 (14:35 +0000)]
Use new waypoint constructor.

22 years agoAdd waypoint constructor.
robertl [Mon, 3 Nov 2003 14:35:35 +0000 (14:35 +0000)]
Add waypoint constructor.

22 years agoWhack dead code.
robertl [Mon, 3 Nov 2003 14:35:24 +0000 (14:35 +0000)]
Whack dead code.

22 years agoMisc cleanups.
robertl [Wed, 29 Oct 2003 03:37:52 +0000 (03:37 +0000)]
Misc cleanups.

22 years agoAdd new Magellan models.
robertl [Wed, 29 Oct 2003 03:05:17 +0000 (03:05 +0000)]
Add new Magellan models.

22 years agoFix reads of tracks when time_t isn't 32bits. (as on AMD64/Linux)
robertl [Tue, 28 Oct 2003 23:47:26 +0000 (23:47 +0000)]
Fix reads of tracks when time_t isn't 32bits. (as on AMD64/Linux)

22 years agoFix track timestamp endianness on read .
robertl [Tue, 28 Oct 2003 23:40:57 +0000 (23:40 +0000)]
Fix track timestamp endianness on read .

22 years agoAdd WHITESPACE delimiter to xcsv.
alexmot [Mon, 27 Oct 2003 15:06:20 +0000 (15:06 +0000)]
Add WHITESPACE delimiter to xcsv.

22 years agoOh. THAT is why people keep mailing me patches instead of putting them
robertl [Fri, 24 Oct 2003 14:21:00 +0000 (14:21 +0000)]
Oh. THAT is why people keep mailing me patches instead of putting them
on the list...

22 years agoDoc PSITREX. From Mark.
robertl [Thu, 23 Oct 2003 23:31:03 +0000 (23:31 +0000)]
Doc PSITREX.  From Mark.

22 years agoLarge and boring search and replace to remove structs that had only
robertl [Thu, 23 Oct 2003 06:10:57 +0000 (06:10 +0000)]
Large and boring search and replace to remove structs that had only
one member.  wpt->position.altitude.altitude_meters becomes wpt->altitude,
for example.

22 years agoFix timezones in psitrex track format. From Mark.
robertl [Tue, 21 Oct 2003 21:25:16 +0000 (21:25 +0000)]
Fix timezones in psitrex track format.   From Mark.

22 years agoComment that creation_time is GMT internally.
robertl [Tue, 21 Oct 2003 21:09:05 +0000 (21:09 +0000)]
Comment that creation_time is GMT internally.